package com.cherish.web.menu.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cherish.web.menu.entity.Menu;
import com.cherish.web.menu.mapper.MenuMapper;
import com.cherish.web.menu.service.MenuService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Author:MQ
 * Date:2023/12/2622:29
 */
@Service
public class MenuServiceImpl extends ServiceImpl<MenuMapper, Menu> implements MenuService {

    @Override
    public List<Menu> getMenuListByUserId(long userId) {
        List<Menu> list = this.baseMapper.getMenuListByUserId(userId);
        return list;
    }
}
